package d01012;

public class StudentTest {
    public static void main(String[] args){
        Student s = new Student();
        s.setStuName("小广");
        s.setStuNo(1001);
        s.setAge(20);

        Student.className="YC123";
        Student s2 = new Student();
        s2.setStuNo(1002);
        s2.setStuName("小结");
        s2.setAge(20);
        s.showInfo();
        s2.showInfo();
        Student s3 = new Student();
        s3.setStuNo(1003);
        s3.setStuName("小明");
        s3.setAge(20);
        Student.className="YC128";
        s3.showInfo();

        Student s4 = new Student();
        s4.showInfo();
        s.showInfo();
        Student.print();
    }
}
